Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'S BAR%' OR cm2 LIKE '%CREW'S BAR%' OR cm3 LIKE '%CREW'S BAR%' OR cat LIKE '%C...' at line 1 in /var/www/foojp/function.php:164
Stack trace:
#0 /var/www/foojp/function.php(164): mysqli_query()
#1 /var/www/foojp/function.php(149): select()
#2 /var/www/foojp/index.php(177): daCache()
#3 /var/www/foojp/route.php(41): include_once('...')
#4 /var/www/foojp/route.php(22): go()
#5 {main}
thrown in /var/www/foojp/function.php on line 164